﻿using System;
namespace GtsServer.Model
{
    /// <summary>
    /// Chance:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class Chance
    {
        public Chance()
        { }
        #region Model
        private int _id;
        private int _typeid;
        private string _chanceoperator;
        private int _chancevalue;
        private int _chanceMouldID;
        private int _maxNum;
        private int _minNum;

        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 概率类型
        /// </summary>
        public int TypeID
        {
            set { _typeid = value; }
            get { return _typeid; }
        }
        /// <summary>
        /// 概率运算符
        /// </summary>
        public string ChanceOperator
        {
            set { _chanceoperator = value; }
            get { return _chanceoperator; }
        }
        /// <summary>
        /// 概率值
        /// </summary>
        public int ChanceValue
        {
            set { _chancevalue = value; }
            get { return _chancevalue; }
        }
        /// <summary>
        /// 概率模板号
        /// </summary>
        public int ChanceMouldID
        {
            set { _chanceMouldID = value; }
            get { return _chanceMouldID; }
        }

        public int MaxNum
        {
            get { return _maxNum; }
            set { _maxNum = value; }
        }

        public int MinNum
        {
            get { return _minNum; }
            set { _minNum = value; }
        }
        #endregion Model

    }

    public partial class ChanceShow : Chance
    {
        private string _chanceName;

        public string ChanceName
        {
            get { return _chanceName; }
            set { _chanceName = value; }
        }

        private string _typeName;

        public string TypeName
        {
            get { return _typeName; }
            set { _typeName = value; }
        }

    }
}

